package record.type;

/**
 * @Package: com.record.type
 * @ClassName: LongTypeHandler
 * @Author: wulongkai
 * @CreateTime: 2023/12/19 15:13
 * @Description:
 */
public class PriorityTypeHandler implements TypeHandler<Integer> {
    @Override
    public String handler(Integer value) {
        if (value < 0) {
            return "低-" + value;
        } else if (value == 0) {
            return "一般-" + value;
        } else {
            return "较高-" + value;
        }
    }
}
